home *** CD-ROM | disk | FTP | other *** search
- package org.spruce.midp.effects;
-
- // $FF: renamed from: org.spruce.midp.effects.a
- final class class_0 {
- // $FF: renamed from: a short[]
- public static final short[] field_0 = new short[]{0, 17, 35, 52, 70, 87, 105, 122, 139, 156, 174, 191, 208, 225, 242, 259, 276, 292, 309, 326, 342, 358, 375, 391, 407, 423, 438, 454, 469, 485, 500, 515, 530, 545, 559, 574, 588, 602, 616, 629, 643, 656, 669, 682, 695, 707, 719, 731, 743, 755, 766, 777, 788, 799, 809, 819, 829, 839, 848, 857, 866, 875, 883, 891, 899, 906, 914, 921, 927, 934, 940, 946, 951, 956, 961, 966, 970, 974, 978, 982, 985, 988, 990, 993, 995, 996, 998, 999, 999, 1000};
- // $FF: renamed from: b boolean
- public static boolean field_1;
-
- // $FF: renamed from: a (int) int
- public static int method_0(int var0) {
- if (var0 < 0) {
- return -method_0(-var0);
- } else {
- var0 %= 360;
- if (var0 < 90) {
- return field_0[var0];
- } else if (var0 < 180) {
- return field_0[179 - var0];
- } else {
- return var0 < 270 ? -field_0[var0 - 180] : -field_0[359 - var0];
- }
- }
- }
-
- // $FF: renamed from: b (int) int
- public static int method_1(int var0) {
- return method_0(var0 + 90);
- }
- }
-